package com.bw.service;

import com.bw.mapper.GmallMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
@Service
public class GmallServiceImpl implements GmallService {
    @Autowired
    GmallMapper gmallMapper;
    @Override
    public List<Map> findTotal(String time) {
        return gmallMapper.findTotal(time);
    }

    @Override
    public List<Map> findUser() {
        return gmallMapper.findUser();
    }

    @Override
    public List<Map> findPro() {
        return gmallMapper.findPro();
    }

    @Override
    public List<Map> findSpu() {
        return gmallMapper.findSpu();
    }

    @Override
    public List<Map> findCat() {
        return gmallMapper.findCat();
    }

    @Override
    public List<Map> findTrd() {
        return gmallMapper.findTrd();
    }
}
